import { CoolController, BaseController } from '@cool-midway/core';
import { Body, Inject, Post, Get, Query } from '@midwayjs/core';
import { AnchorLiveInfoEntity } from '../../entity/info'; 
import { AnchorLiveInfoService } from '../../service/info'; 

/**
 * anchorLive模块-直播信息
 */
@CoolController({
  api: ['add', 'delete', 'update', 'info', 'list', 'page'],
  entity: AnchorLiveInfoEntity,
  service: AnchorLiveInfoService,
  pageQueryOp: {
    keyWordLikeFields: ['anchorName'],
    fieldEq: ['duration', 'soundWaves', 'gifts'],
  }
})
export class AdminAnchorLiveInfoController extends BaseController {
    @Inject()
    anchorLiveInfoService: AnchorLiveInfoService;
}
